package edu.sctu.nieyu.day20150505.method1;

/**
 * Created by user01 on 2015/5/5.
 */
public class Dog1 extends Dog {

    @Override
    public void getColor() {
        color = "red";
    }

    @Override
    public void getSize() {
        size = "small";
    }

    @Override
    public void getAction() {
        action = "run";
    }

    public void getMessage(Interf interf) {
        interf.getString(color,size,action);
    }
}
